/**
 * @Author: 焦质晔
 * @Date: 2019/6/20
 * @Last Modified by: max.jianhua
 * @Last Modified time: 2020-11-20 15:21:28
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// /fiAccountVerify/querySapVerify CMS-SAP资金余额对账表查询
export const queryList = (params) => axios.post(`${SERVER.WHOLESALES}/fiAccountVerify/querySapVerify`, params)

// /fiAccountVerify/cmsSapGenerate CMS-SAP资金余额对账表生成
export const saveData = (params) => axios.get(`${SERVER.WHOLESALES}/fiAccountVerify/cmsSapGenerate`, {
  params
})

// 导出	 /fiAccountVerify/exportVerify CMS-SAP资金余额对账表导出
export const exportExcel = (params) => axios.post(`${SERVER.WHOLESALES}/fiAccountVerify/exportVerify`, params, {
  responseType: 'blob'
})

// / 导出
export const exporturl = params => axios.post(`/api/cmscloud.excel/downloadExcel/exportExcel/${params.CODE}`, params);
